package com.wu.mp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wu
 * @since 2019-07-02
 */
@TableName("t_receiving_address")
public class TReceivingAddress implements Serializable {

private static final long serialVersionUID=1L;

    /**
     * 地址ID
     */
    private String addressId;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 省
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 县/区
     */
    private String county;

    /**
     * 详细地址
     */
    private String detailedAddress;

    /**
     * 邮政编码
     */
    private String postalCode;

    /**
     * 是否默认地址,0默认,1非默认
     */
    private String isDefault;

    /**
     * 创建时间
     */
    private String createTime;


    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getDetailedAddress() {
        return detailedAddress;
    }

    public void setDetailedAddress(String detailedAddress) {
        this.detailedAddress = detailedAddress;
    }

    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }

    public String getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "TReceivingAddress{" +
        "addressId=" + addressId +
        ", userId=" + userId +
        ", province=" + province +
        ", city=" + city +
        ", county=" + county +
        ", detailedAddress=" + detailedAddress +
        ", postalCode=" + postalCode +
        ", isDefault=" + isDefault +
        ", createTime=" + createTime +
        "}";
    }
}
